<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $title; ?></title>
<link rel="stylesheet" type="text/css" href="<?php echo base_url() ?>stylesheet/DN_DK.css"/>
<script type="text/javascript" src="<?php echo base_url() ?>scripts/jquery-1.9.0.js"></script> 
<script type="text/javascript" src="<?php echo base_url() ?>scripts/jquery.validate.js"></script>
<script type="text/javascript" src="<?php echo base_url() ?>scripts/localization/messages_vi.js"></script>
<script type="text/javascript" >
 $(document).ready(function(){ 
     $("#frmDangKy").validate({
		errorElement: "span",
		rules:{
				txtTK:{required:true,maxlength:30},				 
				txtMK:{required:true},
				txtMKL:{required:true},
				txtM:{required:true,email:true},
				txtHT:{required:true,maxlength:50},
				txtDC:{required:true,maxlength:150}, 	 
				txtSDT:{required:true,number:true,maxlength:15}
			},
			messages:{
				}
	});
}); 
</script> 
</head> 

<body>
	 <form id="frmDangKy" name="frmDangKy" enctype="multipart/form-data" method="post" action="<?php echo base_url()?>index.php/<?php echo $language; ?>/TrangChu/ThemTaiKhoan">
         <div class="DangNhap_K">
            <h2><?php echo $this->lang->line('DK_TieuDe') ; ?></h2>
            <div class="DangNhap">
            <p> <?php echo $TB_DangKy ;  echo validation_errors();  ?></p>
                <?php echo $this->lang->line('DK_TaiKhoan') ; ?><br />
                <input class="txt" id="txtTK" name="txtTK" value="<?php echo set_value('txtTK', ''); ?>" type="text" placeholder="<?php echo $this->lang->line('DK_TaiKhoan') ; ?>" /><br /> 
                <?php echo $this->lang->line('DK_MatKhau') ; ?><br />
                <input class="txt" id="txtMK" name="txtMK" value="<?php echo set_value('txtMK', ''); ?>" type="password" placeholder="<?php echo $this->lang->line('DK_MatKhau') ; ?>" /><br /> 
               	<?php echo $this->lang->line('DK_NhapLai') ; ?><br />
                <input class="txt"  id="txtMKL" name="txtMKL" value="<?php echo set_value('txtMKL', ''); ?>" type="password" placeholder="<?php echo $this->lang->line('DK_NhapLai') ; ?>" /><br /> 
                <?php echo $this->lang->line('DK_HoTen') ; ?><br />
                <input class="txt" id="txtHT" name="txtHT" value="<?php echo set_value('txtHT', ''); ?>" type="text" placeholder="<?php echo $this->lang->line('DK_HoTen') ; ?>" /><br /> 
                <?php echo $this->lang->line('DK_DiaChi') ; ?><br />
                <input class="txt" id="txtDC" name="txtDC" value="<?php echo set_value('txtDC', ''); ?>" type="text" placeholder="<?php echo $this->lang->line('DK_DiaChi') ; ?>" /><br /> 
                <?php echo $this->lang->line('DK_SDT') ; ?><br />
                <input class="txt" id="txtSDT" name="txtSDT" value="<?php echo set_value('txtSDT', ''); ?>" name="" type="text" placeholder="<?php echo $this->lang->line('DK_SDT') ; ?>" /><br /> 
                <?php echo $this->lang->line('DK_Mail') ; ?> <br />
                <input class="txt" id="txtM" name="txtM" value="<?php echo set_value('txtM', ''); ?>" type="text" placeholder="<?php echo $this->lang->line('DK_Mail') ; ?>" /><br /> <br />  
                <nobr><samp> </samp><samp><input  class="bnt" type="submit" value="<?php echo $this->lang->line('DK_N_TieuDe') ; ?>"/> </samp><samp> </samp> </nobr>   
                <br /><br />
                <a href="<?php echo base_url() ?>index.php/<?php echo $language; ?>/Trangchu/index"><?php echo $this->lang->line('trangchu') ; ?> </a>       
            </div>
        </div>
    </form>
</body>
</html>